package com.hc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class DispatchController {

    @RequestMapping(value = "/showLogin")
    public String index() {
        return "/login";
    }

    @RequestMapping(value = "/showStorage")
    public String showStorage() {
        return "/storage";
    }

    //@RequestMapping(value = "/error")
    //public String error() {
    //    System.out.println(3+2);
    //    return "错误页面信息";
    //}

}
